package com.yuyou.tas.admin.mapper;

import com.yuyou.tas.service.api.admin.entity.AuthRoleResourceRelation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AuthRoleResourceRelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AuthRoleResourceRelation record);

    int insertSelective(AuthRoleResourceRelation record);

    AuthRoleResourceRelation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthRoleResourceRelation record);

    int updateByPrimaryKey(AuthRoleResourceRelation record);

    int deleteByAuthRoleId(Long authRoleId);

    List<AuthRoleResourceRelation> findRoleResourceRelationByAuthRoleId(Long authRoleId);

    int batchInsertRoleResourceRelation(List<AuthRoleResourceRelation> authRoleResourceRelationList);
}